package fr.esiea.es_inf5042.business;

public class Comment {

	private int id;
	private User user;
	private String text;
	private int bargainID;

	public Comment(int id, User user, String text, int bargainID) {
		super();
		this.id = id;
		this.user = user;
		this.text = text;
		this.bargainID = bargainID;
	}
	

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public int getId() {
		return id;
	}

	public User getUser() {
		return user;
	}
	
	public int getBargainID() {
		return bargainID;
	}

	public void setBargainID(int bargainID) {
		this.bargainID = bargainID;
	}
}
